package com.example.aigc_education.domain.request;
import com.example.aigc_education.domain.dto.QuizQuestionDTO;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class SaveOrSubmitQuizRequest {
    /**
     * 唯一主键
     */
    @NotNull(message = "测验id不能为空")
    private Long quizId;


    /**
     * 问题集合
     */
    @NotEmpty(message = "问题集合不能为空")
    private List<QuizQuestionDTO> quizQuestionDTOS;


}
